<?php
  // config.inc
  // SimpleVC
  //     Configuration file for SimpleVC.
  // June 12, 2010
  
define('VC_APP_NAME', '');

// Error Ticket Handler.  Choose "file" or "display"
// Only use "display" on debugging systems!
define('VC_ERROR_HANDLER', 'display');
define('VC_TICKET_PATH', '');

// Path to libs directory
define('VC_APP_PATH', '');
define('VC_LIB_PATH', '');
define('VC_CONTROLLER_PATH', '');
define('VC_TEMPLATE_PATH',   '');
define('VC_DBMODELS_PATH',   '');

// Interop Paths
define('DIAL_LIQUIDSOAP_SOCK', '');
define('DIAL_LIQUIDSOAP_TIMEOUT', );
define('DIAL_ICECAST_ADMINSTATS', '');
define('DIAL_ICECAST_USERPWD', '');

// Path for the application log
define('VC_LOGGER_PATH', '');
define('VC_LOGGER_NAME', '');
define('VC_LOGGER_NOTICE', 1);
define('VC_LOGGER_WARNING', 2);
define('VC_LOGGER_ERROR', 3);

// Set the library include path
set_include_path(get_include_path() . PATH_SEPARATOR . VC_LIB_PATH);

// Initialize PHP Activerecord
require_once('php-activerecord/ActiveRecord.php');

$cfg = ActiveRecord\Config::instance();
$cfg->set_model_directory(VC_DBMODELS_PATH);
$cfg->set_connections(array(
	'development' => "",
));

// Include the application information
$appInc = strtolower(VC_APP_NAME) . '.inc';
if(is_file($appInc)) {
    include $appInc;
}